﻿using System;
using System.Runtime.Serialization;

namespace IGM.DataProvider.Entites
{
    [Serializable]
    [KnownType(typeof(Group)), KnownType(typeof(User)), KnownType(typeof(GroupLeturer)), KnownType(typeof(GroupStudent)),
    KnownType(typeof(KindIntern)), KnownType(typeof(KindMark)), KnownType(typeof(LastModifyData)), KnownType(typeof(Lecturer)),
    KnownType(typeof(Major)), KnownType(typeof(Student)), KnownType(typeof(StudentLeturer)), KnownType(typeof(StudentMark)),
    KnownType(typeof(Subcommittee)), KnownType(typeof(SubcommitteeLecture)),
    ]
    public class DataManagement
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public bool Status { get; set; }

        [DataMember]
        public string EntitySetName { get; set; }

        [DataMember]
        public int ErrorCode { get; set; }

        [DataMember]
        public string ErrorMessage { get; set; }

        [DataMember]
        public int Stt { get; set; }

        [DataMember]
        public bool IsChecked { get; set; }
    }
}